package com.example.presentshopping.config.bean;

import java.util.List;

public class BoardFragmentBean {

    /**
     * code : 0
     * msg : 获取商家列表成功
     * data : {"list":[{"id":23,"name":"鲁老头","logo":"https://wmoss.lxtianxia.cn/images/8/2020/10/TG2QU8To052ggT2tq8Bv2OBT5toQ2v.jpg","description":"有机农产品","tel":"0755-869136311","prov":"山东","city":"青岛","goods":[{"id":2108,"title":"山东秋月梨百果园供应商产地直供","thumb":"https://wmoss.lxtianxia.cn/images/8/2020/10/OslOoWq4OaOo4UtUI74oOIuQ2qRO2L.jpg","marketprice":"99.00"}]},{"id":24,"name":"华讯","logo":"https://wmoss.lxtianxia.cn/images/8/2020/10/EZ8uRfn020fr3GGE2urYud2uu8uRaD.jpg","description":"国家高新企业","tel":"0755-81779183","prov":"广东","city":"深圳","goods":[]},{"id":28,"name":"深圳市牛牛互联科技有限公司","logo":"https://wmoss.lxtianxia.cn/images/8/2020/10/K3r4UrbPAac8q84Q7MsaR3Oo884SnZ.png","description":"测试","tel":"0755-86913631","prov":"广东","city":"深圳","goods":[]}],"count":3}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":23,"name":"鲁老头","logo":"https://wmoss.lxtianxia.cn/images/8/2020/10/TG2QU8To052ggT2tq8Bv2OBT5toQ2v.jpg","description":"有机农产品","tel":"0755-869136311","prov":"山东","city":"青岛","goods":[{"id":2108,"title":"山东秋月梨百果园供应商产地直供","thumb":"https://wmoss.lxtianxia.cn/images/8/2020/10/OslOoWq4OaOo4UtUI74oOIuQ2qRO2L.jpg","marketprice":"99.00"}]},{"id":24,"name":"华讯","logo":"https://wmoss.lxtianxia.cn/images/8/2020/10/EZ8uRfn020fr3GGE2urYud2uu8uRaD.jpg","description":"国家高新企业","tel":"0755-81779183","prov":"广东","city":"深圳","goods":[]},{"id":28,"name":"深圳市牛牛互联科技有限公司","logo":"https://wmoss.lxtianxia.cn/images/8/2020/10/K3r4UrbPAac8q84Q7MsaR3Oo884SnZ.png","description":"测试","tel":"0755-86913631","prov":"广东","city":"深圳","goods":[]}]
         * count : 3
         */

        private int count;
        private List<ListBean> list;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 23
             * name : 鲁老头
             * logo : https://wmoss.lxtianxia.cn/images/8/2020/10/TG2QU8To052ggT2tq8Bv2OBT5toQ2v.jpg
             *  : 有机农产品
             * tel : 0755-869136311
             * prov : 山东
             * city : 青岛
             * goods : [{"id":2108,"title":"山东秋月梨百果园供应商产地直供","thumb":"https://wmoss.lxtianxia.cn/images/8/2020/10/OslOoWq4OaOo4UtUI74oOIuQ2qRO2L.jpg","marketprice":"99.00"}]
             */

            private int id;
            private String name;
            private String logo;
            private String description;
            private String tel;
            private String prov;
            private String city;
            private List<GoodsBean> goods;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public String getProv() {
                return prov;
            }

            public void setProv(String prov) {
                this.prov = prov;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public List<GoodsBean> getGoods() {
                return goods;
            }

            public void setGoods(List<GoodsBean> goods) {
                this.goods = goods;
            }

            public static class GoodsBean {
                /**
                 * id : 2108
                 * title : 山东秋月梨百果园供应商产地直供
                 * thumb : https://wmoss.lxtianxia.cn/images/8/2020/10/OslOoWq4OaOo4UtUI74oOIuQ2qRO2L.jpg
                 * marketprice : 99.00
                 */

                private int id;
                private String title;
                private String thumb;
                private String marketprice;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getThumb() {
                    return thumb;
                }

                public void setThumb(String thumb) {
                    this.thumb = thumb;
                }

                public String getMarketprice() {
                    return marketprice;
                }

                public void setMarketprice(String marketprice) {
                    this.marketprice = marketprice;
                }
            }
        }
    }
}
